package zsxmlv.taobao.tbk;

import com.taobao.api.ApiException;
import com.taobao.api.DefaultTaobaoClient;
import com.taobao.api.request.TbkTpwdCreateRequest;
import com.taobao.api.response.TbkTpwdCreateResponse;

/**
 * @Author: ZSXM
 * @Description:
 * @Company: QIDI
 * @Date: Create by 2018/8/22 20:03
 * @Version: 1.0
 * @Modify by:
 */
public class TaobaoTpwdImpl implements TaobaoTpwd {

    /**
     * 淘宝客淘口令
     * @param request
     * @return
     * @throws ApiException
     */
    @Override
    public String tpwdCreate(TbkTpwdCreateRequest request) throws ApiException {
        return Taobao.me.execute(request).getBody();
    }
}
